package cn.tjie.org.domain;

import cn.tjie.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 员工实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {

    //员工姓名
    private String username;

    //电话
    private String phone;

    //邮箱
    private String email;

    //盐值
    private String salt;

    //密码
    private String password;

    //年龄
    private Integer age;

    //状态
    private Integer state=1;

    //所属部门id
    private Long department_id;

    //登录信息id
    private Long logininfo_id;

    //店铺id
    private Long shop_id;

    //角色id
    private Long role_id;
    //所属角色
    private String role_name;

    //关联查询
    private Department department;

    //校验密码的
    private String comfirmPassword;

}
